var arg = process.argv[2];

var buf1 = Buffer.from(arg,"base64");
var str = buf1.toString("utf-8");
console.log(str); 
var arr = str.split(" ");
var info = {"username": arr[1], "pwd": arr[3]};
console.log(info);